<?php
/**
 * thrift服务器，提供基于thrift协议的接口服务
 */
//require_once __DIR__ . "/lib/Swoole/Thrift/SwooleHttpServer.php";
require_once 'lib/PAutoLoader.php';
$cofnig = include __DIR__  . '/config/thrift_ini.php';

$server = new Swoole\Thrift\SwooleHttpServer($cofnig);
// $server = new SwooleHttpServer($cofnig);
$server->serve();
